package com.pkx.cloud.fse7.dms.tcm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author chenwg
 * @since 2020-11-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TCM")
@ApiModel(value = "Tcm对象", description = "")
public class Tcm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "2C")
    @TableField("Code")
    private String Code;

    @ApiModelProperty(value = "如小型临时车（时租卡A)")
    @TableField("Name")
    private String Name;

    @ApiModelProperty(value = "类型")
    @TableField("TcmType")
    private Integer TcmType;

    @TableField("Gid")
    private String Gid;

    @TableField("SubSystem")
    private Integer SubSystem;

    @TableId(value = "Id", type = IdType.AUTO)
    private Long Id;

    @TableField("Rid")
    private String Rid;


}
